package com.cosmoplat.xikai.business.mapper;

import com.cosmoplat.xikai.business.domain.BaseProductInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cosmoplat.xikai.business.domain.NumberOfProductionRecords;
import com.cosmoplat.xikai.business.domain.dto.quality.QualityQueryDTO;
import com.cosmoplat.xikai.business.domain.vo.ProcessingDataVo;
import com.cosmoplat.xikai.business.domain.vo.ProductQuality;

import java.util.ArrayList;
import java.util.List;

/**
* @author 22047582
* @description 针对表【base_product_info】的数据库操作Mapper
* @createDate 2025-01-07 13:51:30
* @Entity com.cosmoplat.xikai.business.domain.BaseProductInfo
*/
public interface BaseProductInfoMapper extends BaseMapper<BaseProductInfo> {

    /**
     * 过程加工数据
     * @date 10:17 2025/1/13
     * @param queryDTO
     * @return java.util.List<com.cosmoplat.xikai.business.domain.vo.ProcessingDataVo>
     **/
    List<ProcessingDataVo> queryProcessingDataForPage(QualityQueryDTO queryDTO);


    /**
     * 产品合格率
     * @date 10:17 2025/1/13
     * @param queryDTO
     * @return java.util.List<com.cosmoplat.xikai.business.domain.vo.ProductQuality>
     **/
    List<ProductQuality> queryProductQuality(QualityQueryDTO queryDTO);

    List<NumberOfProductionRecords> queryNumberOfProductionRecords();

    ArrayList<String> getProductNameList();

}




